package com.lin.chapter33.chapter1.facade;

import java.util.Random;

public class Performance {
	private BasicSalary salary = new BasicSalary();

	public int getPerformanceValue(){
		int pref = (new Random()).nextInt(100);
		return salary.getBasicSalary() * pref / 100;
	}
}
